home *** CD-ROM | disk | FTP | other *** search
/ Go Ronald / Go Ronald Voice Interactive CD.iso / Data1.cab / _A78B221671294700924B8ABD93D36F0B / scripts / frame_1 / DoAction.as
Text File  |  2005-08-05  |  1KB  |  41 lines

  1. stop();
  2. var dnaGRG_so = SharedObject.getLocal("DNA_GRG");
  3. var userHasMic = dnaGRG_so.data.hasMic != "true" ? false : true;
  4. mApplication.trace("userHasMic = " + userHasMic);
  5. var redoSound = new Sound("sfx_mc");
  6. redoSound.attachSound("pop5b");
  7. var rolloverSound = new Sound("sfx_mc");
  8. rolloverSound.attachSound("pulldown02");
  9. var clickSound = new Sound("sfx_mc");
  10. clickSound.attachSound("Click2");
  11. var alertSound = new Sound("sfx_mc");
  12. alertSound.attachSound("dingwip01");
  13. var windSound = new Sound("sfx_mc");
  14. windSound.attachSound("wind_hollow03");
  15. var playSound = new Sound("sfx_mc");
  16. playSound.attachSound("GRG-en-us-misc-25");
  17. var jumpSound = new Sound("sfx_mc");
  18. jumpSound.attachSound("pulldown02");
  19. Start_btn._visible = false;
  20. gostill_mc.enabled = true;
  21. Container1.loadMovie("SnowBoardingGameIntro.swf"," ");
  22. quit_btn.onRelease = function()
  23. {
  24.    _root.loadNextMovie("ClosingCeremony.swf");
  25. };
  26. gostill_mc.onRollOver = function()
  27. {
  28.    mApplication.trace("over");
  29. };
  30. gostill_mc.onRelease = function()
  31. {
  32.    dnaGRG_so.data.fromModule = "true";
  33.    dnaGRG_so.flush();
  34.    _root.loadNextMovie("MainMenuLauncher.swf");
  35. };
  36. help_btn.onRelease = function()
  37. {
  38.    clickSound.start();
  39.    getUrl("../FAQ/snowboard.html", "_blank");
  40. };
  41.